#ifndef PING_H
#define PING_H

#include <WProgram.h>

class UltrasonicSensor{
    public: 
        unsigned int getDistance();
        UltrasonicSensor(int echo, int trigger, unsigned int max_Time);
    private:
	    int _echo_Pin;
        int _trigger_Ping;
		unsigned int _max_Time;
		unsigned int _cm_factor; /*This is from dividing the travel time in half then 29 seconds per cm*/
};
#endif